#include <stdio.h>
int main ()
{
    int n = 0;
    int c = 1;
    int i = 0;
    
    while(scanf ("%d",&n)!=EOF)
    {
      for(c = 1;c<=n;c++)
    {
        for (i = 0;i< n-c;i++)
        {
            printf ("  ");
        }
        //打印c个*
        for (i=0;i<c;i++)
        {
            printf ("* ");
        }
        printf("\n");
    }
    }
    

    return 0;
}